
#include <string>
#include <map>

using namespace std;

class ExprError
{
public:
    string info;
    ExprError(string s):info(s){}
};

int ExprInit();
double ExprEvaluate(string str, map<string,double>& vars);
